package cn.tedu.luckydrawuser.service.impl;

import cn.tedu.luckydrawuser.protocol.po.UserLog;
import cn.tedu.luckydrawuser.repository.UserLogRepository;
import cn.tedu.luckydrawuser.service.IUserLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Flux;

/**
 * 服务层-用户日志接口实现类
 */
@Service
public class UserLogService implements IUserLogService {
    @Autowired
    private UserLogRepository userLogRepository;

    /**
     * 获取用户日志
     */
    @Override
    public Flux<UserLog> findAll() {
        return userLogRepository.findAll();
    }
}
